<?php
class sfWebRequestExt extends sfWebRequest
{  
  public function getRemoteAddress()
  {
    $pathArray = $this->getPathInfoArray();
    
    return $pathArray['REMOTE_ADDR'];
  }
  public function getServerName()
  {
    $pathArray = $this->getPathInfoArray();
    
    return $pathArray['SERVER_NAME'];
  }
  public function getPhpSelf()
  {
    $pathArray = $this->getPathInfoArray();
    
    return $pathArray['PHP_SELF'];
  }
  public function getPathInfoArray()
  {
  	return parent::getPathInfoArray();
  }
}
